-- GENERATED SPELL FOR [Mudsnout Gnoll] --


function spell0_2372(pUnit, Event) --@Sling Mud,n/a--
pUnit:FullCastSpellOnTarget(3650,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2372', 16000, 1)
end

function Sorts_2372(pUnit, Event)
local choix_sorts_2372 = math.random(0, 0)
if choix_sorts_2372 == 0 then
pUnit:RegisterEvent('spell0_2372', 1, 1)
end
end

function mob2372_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2372', math.random(1500, 3000), 1)
end

function mob2372_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2372_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2372_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2372, 1, 'mob2372_Action')
RegisterUnitEvent(2372, 2, 'mob2372_Leave')
RegisterUnitEvent(2372, 3, 'mob2372_Kill')
RegisterUnitEvent(2372, 4, 'mob2372_Die')
